package com.joysuch.wwyt.dzhapi.bean;

import com.baomidou.mybatisplus.annotation.*;
import com.joysuch.wwyt.common.entity.UserDataEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author JamesZY
 * @since 2021-12-07
 */
@Data
//@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("wwyt_base_config")
@ApiModel(value="BaseConfig对象", description="")
public class ApiBaseConfigBean {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "配置类型id")
    private Long typeId;

    private String code;

    private String value;

    @ApiModelProperty(value = "描述")
    private String description;
    /**
     * 组织机构代码
     */
    @TableField(value = "ORG_CODE", fill = FieldFill.INSERT_UPDATE)
    private String orgCode;

    /**
     * 租户
     */
    @TableField(value = "TENENT_ID", fill = FieldFill.INSERT_UPDATE)
    private Long tenentId;

    @ApiModelProperty("0不必填,1必填")
    private Integer isRequired;
}
